#include "stdafx.h"
#include "CatchScreenPanel.h"
#include "CatchScreenDlg.h"


LRESULT CCatchScreenPanel::OnBitmapCopy(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
{
	m_dlg->CopyToClipboard();
	return 0;
}

LRESULT CCatchScreenPanel::OnBitmapEdit(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
{
	m_dlg->EditBitmap();
	return 0;
}

LRESULT CCatchScreenPanel::OnBitmapSave(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
{
	m_dlg->SaveBitmap();
	return 0;
}

LRESULT CCatchScreenPanel::OnBitmapExit(WORD /*wNotifyCode*/, WORD /*wID*/, HWND /*hWndCtl*/, BOOL& /*bHandled*/)
{
	m_dlg->EndDialog(IDCANCEL);
	return 0;
}